Skip to content

Update the iOS deployment target in podspec file to match the GoogleMLKit requirements #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbhjt-gr
Copy link

New projects using this module are failing while running pod install.

⚠️ Something went wrong running pod install in the ios directory.
Command pod install failed.
└─ Cause: CocoaPods could not find compatible versions for pod "GoogleMLKit/TextRecognition":
In Podfile:
RNMLKitTextRecognition (from ../node_modules/@react-native-ml-kit/text-recognition) was resolved to 1.6.0, which depends on
GoogleMLKit/TextRecognition (= 8.0.0)

Specs satisfying the GoogleMLKit/TextRecognition (= 8.0.0) dependency were found, but they required a higher minimum deployment target.

pod install --repo-update --ansi exited with non-zero code: 1". what in my project is causing this?

This is because in Google's ML Kit release notes, GoogleMLKit 8.0.0 requires iOS 15.5.0 as the minimum deployment target. This requirement was introduced in the September 30, 2024 release. Hence, I have updated the existing 9.0 minimum target to 15.5. This change no longer causes the builds to fail in the new projects that are using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant